<script>
  throw new Error('foo');
</script>
